package cn.tedu.mintmall.dto;

import cn.tedu.mintmall.entity.ProductImage;
import cn.tedu.mintmall.entity.PropertyValue;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ProductDetailsDTO implements Serializable {
    private Integer id;
    //商品标题
    private String title;
    //商品id
    private Integer productId;
    //原价
    private Double oldPrice;
    //现价
    private Double price;
    //销量
    private Integer saleCount;
    private Integer reviewCount/*评价数*/;
    private List<PropertyValue> propertyValueList/*产品属性值集合*/;
    private List<ProductImage> singleProductImageList/*产品预览图片集合*/;
}
